package org.exhibitj.automation.actions;

import org.exhibitj.automation.Action;
import org.exhibitj.automation.Agent;

public class TypeCharacter implements Action {

	private final char character;

	public TypeCharacter(char character) {
		this.character = character;
	}
	
	@Override
	public void perform(Agent agent) {
		agent.pressKey(character);
		agent.delay(50);
		agent.releaseKey(character);
	}

}
